package posecco.client;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Transient;
import javax.persistence.Id;
import javax.persistence.Entity;

@SuppressWarnings("serial")
@Entity
public class Role implements Serializable
{
	@Id Long id;
    String name;
    Date date;
    @Transient String doNotPersist;

    @SuppressWarnings("unused")
	private Role() {}
    
    public Role(String name)
    {
        this.name = name;
        this.date = new Date();
    }

	public String getName() {
		return name;
	}
}
